AndroidDreamer (ANDR) - now with streaming in Local LAN and remotely over 3G/HDSPA/WIFI - Beta 0.4 of 29/12/2010

This beta release supports streaming (in Local LAN and remotely over 3G/HDSPA/WIFI) both for Enigma and Enigma2. Remember that AndroidDreamer is very simple in this moment and does not yet support other features such as HTTPS (SSL), EPG, Remote Control, Timer Management etc. It was written quickly to test streaming.

For streaming remotely over 3G/HDSPA/WIFI, please read carefully the attached PDF-guide. 

You can choose between vPlayer or VLC. The advantage of vPlayer, other than excellent quality, is that there is no need for a separate computer with VLC working as a transcoding-server. However, vPlayer cannot be installed on all devices and in this case VLC is the only option. This is also true for remote-streaming (3G).

Note: this is a BETA and many errors may occur. Better error-handling will be added gradually while the application gets developed further.

Instructions:

(for HTC HD2-users running Android-builds, see note at the buttom of this file)

1) on the device, ensure that in settings, applications "unknown sources" are enabled

2) copy the apk on the device and install (use a file-explorer such as Astro or other)

3) When the application starts the first time, you are prompted to fill in your parameters. I have filled in some dummy-data. Change them according to your parameters. Click thereafter on save. If you are not planning to use VLC then you can leave the parameters regarding VLC as they are.  

4) In main-screen, click on Type of Streaming. You can select between vPlayer or VLC (both for LAN and 3g). There is also a special option for VLC (remote) available but it has been disabled in this release. If you decide to use vPlayer make sure to download from the market the latest version before trying to stream.

5a) If you selected vPlayer, then click on View Bouquets, select a channel and confirm streaming when prompted. At this point, vPlayer should open up automatically with streaming.

5B) If you use VLC, then VLC must be installed on a PC that will act as a VLC-server (transcoding-server). Follow these instructions for VLC: 

a) Install VLC (I have tested with VLC 1.05 and 1.15) on a computer. I have tested only Windows but it might work on Linux and MAC as well. 

b) Start VLC, go to View -> Add Interface -> Web Interface

c) The following might or might not be necessary.:
- If you get connections-errors, then in the videolan-folder (C:\Program Files\VideoLAN\VLC\http) in your computer, open the file ".hosts" in a text editor.Remove the hash sign (#) in front of the private addresses of your local network (usually "192.168.0.0/16" or "192.168.1.0/16"). You can also remove the hash sign in front of 0.0.0.0/0. Save the file.

d) if you are going to stream remotely, then click on VPN Settings and connect to your home-network - see the PDF-guide for instructions to set up VPN. If you are going to stream within your LAN, then there is no need to click on VPN Settings and you can go directly to next step.

e) click on View Bouquets

f) select Bouquet and channel

g) click on a channel and you will get a message asking if you want to stream. Say yes

h) select SOUT (there are several options - for use within your LAN, try using MP4V, H264(vb512) or H264(vb256). If you are streaming remotely, then you should use the souts having 3G in their name such as H264(3Gvb192). The vb in the name indicates the bitrate being used. Higher bitrate requires a faster connection. If you have a fast upload at home and a fast connection on your device, you can also try the other souts (without 3G in their names).

i) if everything works, you should see streaming

Please note that when exiting AndroidDreamer, using the regular-back button on your Android-device, VLC will stop the stream. This is important, especially for Enigma2 where otherwise channel-change can be blocked (normal behaviour). If you want, you can use the kill VLC/Stream button as well.

Please report if AndroidDreamer works for you, indicating which Android-device and which Dreambox you are using.

Good luck!

rgds,
tilleke/moster67

Note for HTC HD2-users: If you are running an Android-build (like I do), please note that settings-parameters sometimes might be empty the first time you run ANDR. Fill in your parameters and then save your settings. What regards the VLC-parameters, the DST-port should be 5554 and HTTP-port should be 8080. 

